﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NETXPF.Library
{
    public class NotifyCollectionChangedEventArgs : EventArgs
    {
        public NotifyCollectionChangedAction Action { get; set; }
        public object Item { get; set; }
        public int Index { get; set; }

        public NotifyCollectionChangedEventArgs()
        {
        }
        public NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, object item) : this(action, item, -1)
        {
        }
        public NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, object item, int index)
        {
        }
        public NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action) : this(action, null, -1)
        {
        }
    }
}
